<?php 
	$nav_array = array(
		array(
			'title' => 'Dashboard',
			'url'   => '/',
			'id'    => 'dashboard',
			'sub'   => array(),
		),
		array(
			'title' => 'Page',
			'url'   => 'pages',
			'sub'   => array(
				array(
					'title' => 'All Pages',
					'url'   => 'pages',
				),
				array(
					'title' => 'Add Page',
					'url'   => 'pages/addpage',
				),
			),
		),
		array(
			'title' => 'Post',
			'url'   => 'post',
			'sub'   => array(
				array(
					'title' => 'All Posts',
					'url'   => 'post',
				),
				array(
					'title' => 'Add Post',
					'url'   => 'post/addpost',
				),
			),
		),
		array(
			'title' => 'Gallery',
			'url'   => 'gallery',
			'sub'   => array(
				array(
					'title' => 'All Gallery',
					'url'   => 'gallery',
				),
				array(
					'title' => 'Add New',
					'url'   => 'gallery/addgallery',
				),
			),
		),
		array(
			'title' => 'Menu',
			'url'   => 'menu',
			'sub'   => array(
				array(
					'title' => 'All Menu',
					'url'   => 'menu',
				),
				array(
					'title' => 'Add New Menu',
					'url'   => 'menu/addmenu',
				),
			),
		),
		array(
			'title' => 'Sliders',
			'url'   => 'sliders',
			'sub'   => array(
				array(
					'title' => 'All Slider',
					'url'   => 'sliders',
				),
			),
		),
		array(
			'title' => 'Users',
			'url'   => 'users',
			'sub'   => array(
				array(
					'title' => 'All Users',
					'url'   => 'users',
				),
			),
		),
		array(
			'title'	=> 'Alan',
			'url'   => 'alan',
			'hidden'=> FALSE,
			'sub'	=> array(
				array(
					'title' => 'All Alan Member',
					'url'   => 'alan',
				),
				array(
					'title' => 'All Event',
					'url'   => 'alan/allevent',
				),
				array(
					'title' => 'Basic Setting',
					'url'   => 'alan/referred',
					'sub'	=> array(
						array(
							'title' =>'Referred By',
							'url'   => 'alan/referred',
						),
						array(
							'title' =>'Height',
							'url'   => 'alan/height',
						),
						array(
							'title' =>'Skin Type',
							'url'   => 'alan/skintype',
						),
						array(
							'title' =>'Body Type',
							'url'   => 'alan/bodytype',
						),
						array(
							'title' =>'Eye Colore',
							'url'   => 'alan/eyecolor',
						),
					),
				),
				array(
					'title' => 'Social Setting',
					'url'   => 'alan/maritalstatus',
					'sub'	=> array(
						array(
							'title' =>'Marital Status',
							'url'   => 'alan/maritalstatus',
						),
						array(
							'title' =>'Mother Tongue',
							'url'   => 'alan/mothertongue',
						),
						array(
							'title' =>'Ethnicity',
							'url'   => 'alan/ethnicity',
						),
						array(
							'title' =>'Relationship',
							'url'   => 'alan/relationship',
						),
						array(
							'title' =>'Religion',
							'url'   => 'alan/religion',
						),
					),
				),
				array(
					'title' => 'Life Style Setting',
					'url'   => 'alan/diet',
					'sub'	=> array(
						array(
							'title' =>'Diet',
							'url'   => 'alan/diet',
						),
						array(
							'title' =>'Smoke',
							'url'   => 'alan/smoke',
						),
						array(
							'title' =>'Drink',
							'url'   => 'alan/drink',
						),
					),
				),
				array(
					'title' => 'Professional Setting',
					'url'   => 'alan/education_level',
					'sub'	=> array(
						array(
							'title' =>'Education Level',
							'url'   => 'alan/education_level',
						),
						array(
							'title' =>'Education Field',
							'url'   => 'alan/education_field',
						),
						array(
							'title' =>'Working With',
							'url'   => 'alan/working_with',
						),
						array(
							'title' =>'Occupation',
							'url'   => 'alan/occupation',
						),
					),
				),
				array(
					'title' => 'Background Setting',
					'url'   => 'alan/community',
					'sub'	=> array(
						array(
							'title' =>'Community',
							'url'   => 'alan/community',
						),
						array(
							'title' =>'Annual Income',
							'url'   => 'alan/annual_income',
						),
					),
				),
				array(
					'title' => 'Trip Setting',
					'url'   => 'alan/interested_in',
					'sub'	=> array(
						array(
							'title' =>'Interested In',
							'url'   => 'alan/interested_in',
						),
						array(
							'title' =>'Looking Meet',
							'url'   => 'alan/looking_meet',
						),
					),
				),
			),
		),
		array(
			'title' => 'Tools',
			'url'   => 'tools/form',
			'sub'   => array(
				array(
					'title' => 'widgets',
					'url'   => 'tools/widgets',
				),
				
			),
		),
		array(
			'title' => 'System',
			'url'   => 'setting',
			'sub'   => array(
				array(
					'title' => 'General Settings',
					'url'   => 'setting',
				),
				array(
					'title' => 'Localization',
					'url'   => '',
					'sub'   => array(
						array(
							'title' => 'Country',
							'url'   => 'setting/countries',
						),
						array(
							'title' => 'State',
							'url'   => 'setting/states',
						),
			
					),
				),
			),
		),	
	);
	echo admin_nav($nav_array); 
?>